<template>
  <div>
    <h1>个人中心组件</h1>
    <ul>
      <li>
        <router-link active-class="myac" to="/my/login">登录</router-link>
      </li>
      <li>
        <router-link active-class="myac" to="/my/reg">注册</router-link>
      </li>
    </ul>
    <div>
      <router-view></router-view>
    </div>
  </div>
</template>
<script>
export default {
  
}
</script>
<style lang="less">
  .myac{
    color: red;
    font-size: 20px;
  }
</style>